package com.che.software.testato.domain.entity.creation;

import java.io.Serializable;

import com.che.software.testato.domain.entity.Project;
import com.che.software.testato.domain.entity.User;
import com.che.software.testato.domain.entity.Version;

/**
 * Class representing the properties of a hierarchy to be created.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class HierarchyCreation implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = 5957265117226032921L;

	/**
	 * Members.
	 */
	private Project project;
	private String highLevelGoal;
	private User user;
	private Version version;

	/**
	 * Default builder.
	 */
	public HierarchyCreation() {
		super();
		this.project = new Project();
		this.user = new User();
		this.version = new Version();
	}

	/**
	 * Getter for the private field value project.
	 * 
	 * @return the project field value.
	 */
	public Project getProject() {
		return project;
	}

	/**
	 * Setting a value to the project field.
	 * 
	 * @param project the value to set.
	 */
	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * Getter for the private field value highLevelGoal.
	 * 
	 * @return the highLevelGoal field value.
	 */
	public String getHighLevelGoal() {
		return highLevelGoal;
	}

	/**
	 * Setting a value to the highLevelGoal field.
	 * 
	 * @param highLevelGoal the value to set.
	 */
	public void setHighLevelGoal(String highLevelGoal) {
		this.highLevelGoal = highLevelGoal;
	}

	/**
	 * Getter for the private field value user.
	 * 
	 * @return the user field value.
	 */
	public User getUser() {
		return user;
	}

	/**
	 * Setting a value to the user field.
	 * 
	 * @param user the value to set.
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * Getter for the private field value version.
	 * 
	 * @return the version field value.
	 */
	public Version getVersion() {
		return version;
	}

	/**
	 * Setting a value to the version field.
	 * 
	 * @param version the value to set.
	 */
	public void setVersion(Version version) {
		this.version = version;
	}
}